body,p{
    margin: 0;
    padding: 0;
}
body{
    background-color: #F7F8FB;
    // padding-bottom: 1rem;
}
header{
    width: 100%;
    height: 4.85rem;
    background: url(../images/banner.png) no-repeat 0 0;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    .header-tip{
        width: 3.14rem;
        height: 0.26rem;
        line-height: 0.26rem;
        border: 0.01rem solid #27FAFF;
        border-radius: 0.13rem;
        text-align: center;
        font-size: 0.12rem;
        color: #EDEFF3;
        margin-top: 0.6rem;
    }
    .header-item{
        margin-bottom: 0.25rem;
        .header-item-code{
            font-size: 0.14rem;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            span{
                font-size: 0.17rem;
                margin: 0 0.05rem;
            }
            .copy{
                width: 0.4rem;
                height: 0.2rem;
                border: 0.01rem solid #27FAFF;
                border-radius: 0.1rem;
                color: #27FAFF;
                text-align: center;
                line-height: 0.2rem;
                font-size: 0.11rem;
            }
        }
        p{
            color: #fff;
            font-size: 0.12rem;
            opacity: 0.59;
            margin: 0.1rem 0 0.17rem 0;
            text-align: center;
        }
        .header-item-btns{
            display: flex;
            align-items: center;
            justify-content: center;
            div{
                width: 1.6rem;
                height: 0.45rem;
                background: linear-gradient(360deg, #C228FF 0%, #FF4570 100%);
                border-radius: 0.24rem;
                text-align: center;
                line-height: 0.45rem;
                font-size: 0.16rem;
                color: #fff;
            }
            .generate-poster{
                margin-left: 0.15rem;
            }
        }
    }
}
.rank{
    width: 100%;
    height: 4.5rem;
    background-color: #F7F8FB;
    margin-top: -0.12rem;
    border-radius: 0.15rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    .rank-container{
        width: 3.5rem;
        background-color: #fff;
        box-shadow: 0px 0.04rem 0.1rem 0px rgba(24, 24, 48, 0.04);
        margin-top: 0.1rem;
        border-radius: 0.1rem;
        .tab{
            width: 100%;
            display: flex;
            align-items: center;
            margin-top: -0.04rem;
            .tab-item{
                width: 50%;
                height: 0.46rem;
                background: url(../images/tab_uncheck.png) no-repeat 0 0;
                background-size: contain;
                text-align: center;
                line-height: 0.46rem;
                color: #181830;
                font-size: 0.15rem;
                font-weight: 400;
            }
            .check{
                background: url(../images/tab_checked.png) no-repeat 0 0;
                background-size: contain;
                color: #3D79FF;
            }
        }
        .rank-records{
            font-size: 0.13rem;
            color: #90909A;
            display: flex;
            align-items: center;
            width: calc(100% - 0.18rem);
            height: 0.42rem;
            padding-left: 0.18rem;
            span{
                color: #FF4570;
                margin-right: 0.2rem;
                margin-left: 0.05rem;
                font-weight: 500;
            }
        }
        .rank-bottom{
            width: 100%;
            height: 0.42rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3D79FF;
            font-size: 0.14rem;
            .right{
                width: 0.14rem;
                height: 0.14rem;
                background: url(../images/right.png) no-repeat 0 0;
                background-size: contain;
                margin-top: 1px;
            }
        }
        .rank-list{
            width: 100%;
            .rank-list-item{
                padding: 0 0.18rem;
                width: calc(100% - 0.36rem);
                height: 0.42rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: #181830;
                font-size: 0.13rem;
                .rank-list-item-right{
                    width: 0.8rem;
                    color: #888888;
                    font-size: 0.12rem;
                    span{
                        color: #FF4570;
                        font-size: 0.13rem;
                    }
                }
            }
            .rank-list-item:nth-child(even){
                background-color: #F8FAFD;
            }
        }
    }
    .rank-rule{
        width: 0.88rem;
        height: 0.32rem;
        border: 0.01rem solid #3D79FF;
        border-radius: 0.2rem;
        text-align: center;
        line-height: 0.32rem;
        color: #3D79FF;
        font-size: 0.14rem;
        font-weight: 600;
        margin-top: 0.2rem;
    }
}



